The text-decoration property in CSS is used to add decorative lines to text, such as underlines, overlines, or line-throughs. Here are the key text-decoration attributes:
text-decoration-lineSpecifies the type of text decoration line to use:
text-decoration-colorSets the color of the text decoration:
text-decoration-styleSpecifies the style of the text decoration line:
text-decoration-thicknessControls the thickness of the text decoration line:
text-decorationA shorthand property that combines the line, color, and style attributes:
Here is an example that uses multiple text decoration properties:
By using these properties, you can create various decorative effects on your text. Let me know if you need more details or specific examples!